package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2024-12-14
 */
@TableName("transcript_write_push_set")
@ApiModel(value = "TranscriptWritePushSet对象", description = "")
@Data
public class TranscriptWritePushSet implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer yearPart;

    private Integer quarterNum;

    private Integer examNum;

    private String examName;

    @ApiModelProperty("科目，多个逗号隔开")
    private String subjectsIdStr;

    @ApiModelProperty("年级，多个逗号隔开")
    private String yearClassIdStr;

    @ApiModelProperty("1单次推送，2定时推送")
    private Integer pushType;

    @ApiModelProperty("开始日期")
    private LocalDate startDate;

    @ApiModelProperty("截止日期")
    private LocalDate endDate;

    @ApiModelProperty("推送时间，多个逗号隔开")
    private String pushTimes;

    @ApiModelProperty("1正常，0暂停")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

}
